e94fa90375357f30370c302de03404a4a29cd989,src/org/basex/query/ft/FTNot.java,FTNot,atomic,#QueryContext#,25
Before Change
@Override
public FTItem atomic(final QueryContext ctx) throws QueryException {
final FTItem it = expr[0].atomic(ctx);
it.all.not();
// needed to support negated queries without hits ('a' ftcontains ftnot 'b')
it.score(it.score() == 0 ? 1 : 0);
return it;
}
After Change
@Override
public FTItem atomic(final QueryContext ctx) throws QueryException {
return not(expr[0].atomic(ctx));
}
@Override